<include path="header" />
    <div class="m-title">
        <ul>
             <li>用户管理</li>
             <li><a href="flag">权限组管理</a></li>
             <li><a href="#" class="select">用户管理</a></li>          
             <li class="right"><a href="memberadd">+ 添加用户</a></li>
            <li></li>
        </ul>
    </div>
    <div class="box top-desc">    
        <table class="multi-cols th-back">
        <tr>
            <th>
                用户
            </th>
            <th>
                邮箱
            </th> 
            <th>
                添加时间
            </th>
            <th>
            </th>
        </tr>
         <? if(!empty($member)){ foreach($member as $u){ ?>
          <tr >
            <td><?=$u['username'] ?></td>
            <td><?=$u['email'] ?></td>
            <td><?=date('Y-m-d H:i:s', $u['reg_time']) ?></td>
            <td><a href="memberedit?member_id=<?=$u['user_id'] ?>">编辑 </a>|<a href="memberdelete?member_id=<?=$u['user_id'] ?>"> 删除</a></td>
          </tr>
         <? }} ?>
        </table> 
    </div>  
<include path="footer" />
  
